package com.zzyl.member.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.member.domain.dto.ReservationDto;
import com.zzyl.member.domain.pojo.Reservation;

import java.util.List;
import java.util.Map;

public interface SubscribeNursingService extends IService<Reservation> {
    void add(ReservationDto dto);

    IPage<Reservation> getPageMy(Integer pageNum, Integer pageSize, Integer status);

    Long serachcanCelledCount();

    void cancel(Long id);

    List<Map<String, Object>> countByTime();
}
